from common.control import BaseApi
from common.control import Return
from lib.API import TokenBaseApi



class Test(TokenBaseApi):
    path = "/version"
    methods = ["GET"]
    tags = ["测试接口"]

    class Return(Return):
        name: str

    async def deal(self, name: str):
        print(name)
        print("修改这里测试热启动")
        return {"name": name}
